package com.spring.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.stereotype.Component;

@Component("user")
@Entity
@Table(name="card_bak")
public class User {
	private String cno;
	private String cname;
	private float cbalance;
	
	@Id
	public String getCno() {
		return cno;
	}
	public void setCno(String cno) {
		this.cno = cno;
	}
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	public float getCbalance() {
		return cbalance;
	}
	public void setCbalance(float cbalance) {
		this.cbalance = cbalance;
	}

	
}
